<template>
  <div class="layout">
    <router-view></router-view>

    <div class="navs">
      <router-link to="/layout/article" style="text-decoration: none"
        >面经</router-link
      >
      <router-link to="/layout/collect" style="text-decoration: none"
        >收藏</router-link
      >
      <router-link to="/layout/like" style="text-decoration: none"
        >喜欢</router-link
      >
      <router-link to="/layout/user" style="text-decoration: none"
        >我的</router-link
      >
    </div>
  </div>
</template>

<script>
export default {
  name: "HmLayout",
};
</script>

<style lang="less" scoped>
.navs {
  // color: inherit;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: white;
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: 30px;
  .active {
    color: red;
  }
}
</style>
